package com.jindy.module.receiptorder.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jindy.common.annotation.Excel;
import com.jindy.common.core.domain.BaseEntity;

/**
 * 【入库订单】对象 t_receipt_order
 *
 * @author ruoyi
 * @date 2022-10-12
 */
@Data
public class ReceiptOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 入库编号 */
    @Excel(name = "入库编号")
    private String warehousingNo;

    /** 入库时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入库时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date warehousingTime;

    /** 业务类型 */
    @Excel(name = "业务类型")
    private String businessType;

    /** 入库类型 */
    @Excel(name = "入库类型")
    private String receiptType;

    /** 入库仓库 */
    @Excel(name = "入库仓库")
    private Long warehousingWarehouseId;

    /** 入库仓库名称 */
    @Excel(name = "入库仓库名称")
    private String warehousingWarehouseName;

    /** 责任人id */
    @Excel(name = "责任人id")
    private Long chargePersonId;

    /** 责任人名称 */
    @Excel(name = "责任人名称")
    private String chargePersonName;

    /** 订单状态 */
    @Excel(name = "订单状态")
    private String orderStatus;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag = "0";

    /**
     * 关联产品
     */
    private List<ReceiptOrderProduct> productList;

    /**
     * 查看权限（用户id)
     */
    private Long userId;
}
